home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1995.02 / 000105_bob@gnu.ai.mit.edu_Thu Feb 16 08:49:28 1995.msg < prev    next >
Internet Message Format  |  1995-02-28  |  6KB

  1. Received: from albert.gnu.ai.mit.edu by cs.umb.edu with SMTP id AA01478
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 16 Feb 1995 13:49:45 -0500
  3. Received: from hill.gnu.ai.mit.edu by albert.gnu.ai.mit.edu (5.65/4.0) with SMTP
  4.     id <AA01472@albert.gnu.ai.mit.edu>; Thu, 16 Feb 95 13:49:32 -0500
  5. Received: by hill.gnu.ai.mit.edu (15.11/4.0)
  6.     id <AA27461@hill.gnu.ai.mit.edu>; Thu, 16 Feb 95 13:49:28 est
  7. Date: Thu, 16 Feb 95 13:49:28 est
  8. From: bob@gnu.ai.mit.edu
  9. Message-Id: <9502161849.AA27461@hill.gnu.ai.mit.edu>
  10. To: tex-k@cs.umb.edu
  11. Cc: bob@gnu.ai.mit.edu
  12. In-Reply-To: <9502161732.aa01537@hamilton.maths.tcd.ie> (message from Timothy Murphy on Thu, 16 Feb 1995 17:32:33 (GMT))
  13. Subject: Re: m68k-sony-newsos build
  14.  
  15.    > .....My presumption was that every thing was set up in the
  16.    > `usual' places ...
  17.  
  18.    What do you mean by the "usual" places ?
  19.    It is certainly easier if you put things in the places Karl suggests.
  20.  
  21. By `usual places', I meant the places Karl suggests.  I think his
  22. layout is excellent.
  23.  
  24. My difficulties with this build are a `how do you model the world'
  25. problem.  My presumptions, heavily influenced by just having built
  26. Emacs, GCC, and some other packages from scratch, were:
  27.  
  28.   * Everything you need to construct a package from scratch is in
  29.     /usr/local/src/SOURCE-DIR or subdirectories thereof.  You already
  30.     have the other things you need, like a compiler and the contents
  31.     of the customary libraries.  You do not get these things when you
  32.     get the package.  They are not part of it.
  33.  
  34.     For example, everything I needed to build diffutils-2.7 untar'ed
  35.     from /usr/local/src/diffutils-2.7.tar into a
  36.     /usr/local/src/diffutils-2.7 directory.  I could cd into that
  37.     directory and build from there.  Nothing left that directory until
  38.     I typed `make install'.  This way I could protect my previous
  39.     (known to be working) version of the software.
  40.  
  41.   * A top level `configure && make' executed in /usr/local/src/SOURCE-DIR
  42.     creates plain vanilla executables and other files and puts them into
  43.     /usr/local/src/SOURCE-DIR or some sub-directory of SOURCE-DIR.
  44.  
  45.   * A subsequent top level `make install' puts the executables and
  46.     other relevant files into appropriate places, as defined by the
  47.     Makefile writer, such as `/usr/local/bin' and `/usr/local/lib'.
  48.  
  49. I just reread kpathsea/HIER, as directed in a top level README, and it
  50. still leaves me with the impression that `make install' should put
  51. things into the directories suggested.
  52.  
  53. That you don't presume this indicates you have a different model of
  54. building packages than I do.  My suggestion here is not that your
  55. model is wrong, but that mine is better suited to people who are not
  56. expert in TeX installation.
  57.  
  58.    > Also, the documentation says that web2c is what you need for `TeX,
  59.    > Metafont, and friends'.  
  60.  
  61.    I didn't understand your complaint here --
  62.    do you mean you didn't know what "friends" meant ?
  63.  
  64. I presumed that `friends' meant everything I needed to install a
  65. working Tex, so I could generate a .dvi file.  I do not know the names
  66. of the programs defined as `friends' and should not have to bother to
  67. learn.  My goal is to produce .dvi files, view them, and print them.
  68. Installation is just a chore.
  69.  
  70.    > Incidentally, after building TeX, I changed to the `dvipsk-5.58f/'
  71.    > directory, typed `configure', and then `make', and then `make
  72.    > install', and everything worked fine.  Here is a situation where my
  73.    > mental model of what ought to be done corresponded to the real world;
  74.    > and following the instructions actually worked.
  75.  
  76.    You know dvipsk is by the same guy (Karl Berry)
  77.    and follow exactly the same pattern ?
  78.  
  79. I know it is by Karl; the point is, it did *not* follow the same
  80. pattern as the TeX build.  If compiling Tex had followed the same
  81. pattern, I would not have written a bug report.  `dvipsk' and `xdvik'
  82. are packages that follow the pattern I am advocating.
  83.  
  84. In brief, what I would like to see is the build-from-scratch for TeX
  85. and Metafont to adapt the same pattern as for dvips and for xdvi.
  86.  
  87. That TeX appears to you to follow the same pattern as dvipsk may mean
  88. that you are not actually building from scratch; or that you are more
  89. expert than you realize (a common problem with experts, and the AI
  90. people have discovered), and that you do more for a from-scratch build
  91. than you think.
  92.  
  93. swift@acs.bu.edu writes:
  94.  
  95.     On the simplest level, the argument against the single giant
  96.     makefile is that it would be too enormous, and its contents
  97.     arbitrary and bound to dissatisfy everyone.  ...  Exactly how big
  98.     of a tex installation should be installed with "configure && make"?  
  99.  
  100. We may have a misunderstanding here.  I am not necessarily advocating
  101. one or many makefiles.  I am advocating a top level makefile that
  102. enables you to build TeX from scratch.  It might also let you build
  103. other things (or give you clear pointers on how to build parts).  In a
  104. TeX distribution, I expect `make' to build what I need to create .dvi
  105. files.
  106.  
  107. In more detail, I am advocating a top level makefile in which:
  108.  
  109.   * you can run `configure'
  110.  
  111.   * you can run `make', and build a complete new plain vanilla
  112.     version, with everything staying in or below the current directory
  113.     (so you don't risk damaging the previous version you had).
  114.  
  115.   * you can test your new version, and when satisfied that it works
  116.  
  117.   * you can install it in the `usual' places, i.e., those recommended
  118.     by the person who wrote the makefile, by running `make install',
  119.     trashing the previous version.
  120.  
  121. Best wishes.
  122.  
  123.     Robert J. Chassell               bob@gnu.ai.mit.edu
  124.     25 Rattlesnake Mountain Road     bob@grackle.stockbridge.ma.us
  125.     Stockbridge, MA 01262-0693 USA   (413) 298-4725